package com.wmlive.hhvideo.heihei.beans.main;

import com.wmlive.hhvideo.common.base.BaseModel;

/**
 * Created by vhawk on 2017/5/24.
 */

public class ShortVideoItem extends BaseModel {


    public ShortVideoItem() {
    }

    /**
     * opus_small_cover :
     * music_id : 0
     * music_album_cover :
     * music_name :
     * title : 我们都是宇宙中的一颗小小的星辰。晚安。
     * topic_name :
     * like_count : 0
     * example : 0
     * play_count : 0
     * is_delete : 0
     * opus_cover : http://p1.pstatp.com/large/1ef100063df7c5fc27c6.jpeg
     * opus_path : https://api.amemv.com/aweme/v1/play/?video_id=4daf9cf5a99f415fb7b16d23e727a022&line=0&ratio=720p
     * visible : 1
     * wonderful_tag : 推荐
     * topic_id : 2
     * opus_gif_cover : http://p3.pstatp.com/obj/1ef000064100d16cfde4
     * owner_id : 10017
     * id : 10051
     * at_user_ids :
     */


    private String opus_small_cover;
    private int music_id;
    private String music_album_cover;
    private String music_name;
    private String title;
    private String topic_name;
    private int like_count;
    private int example;
    private int play_count;
    private int is_delete;
    private String opus_cover;
    private String opus_path;
    private int visible;
    private String wonderful_tag;
    private int topic_id;
    private String opus_gif_cover;
    private long owner_id;
    private long id;
    private String at_user_ids;

    private boolean isLoaded;//f附加字段：是否已经加载了视频的详细信息
    //以下是二次请求到的数据
    private Author user;
    private ShareInfo share_info;
    private int comment_count;
    private boolean is_like;
    private String download_link;

    public String getDownload_link() {
        return download_link;
    }

    public void setDownload_link(String download_link) {
        this.download_link = download_link;
    }

    public boolean is_like() {
        return is_like;
    }

    public void setIs_like(boolean is_like) {
        this.is_like = is_like;
    }

    public ShareInfo getShare_info() {
        return share_info;
    }

    public void setShare_info(ShareInfo share_info) {
        this.share_info = share_info;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public boolean isLoaded() {
        return isLoaded;
    }

    public void setLoaded(boolean loaded) {
        isLoaded = loaded;
    }

    public Author getUser() {
        return user;
    }

    public void setUser(Author user) {
        this.user = user;
    }

    public String getOpus_small_cover() {
        return opus_small_cover;
    }

    public ShortVideoItem setOpus_small_cover(String opus_small_cover) {
        this.opus_small_cover = opus_small_cover;
        return this;
    }

    public int getMusic_id() {
        return music_id;
    }

    public ShortVideoItem setMusic_id(int music_id) {
        this.music_id = music_id;
        return this;
    }

    public String getMusic_album_cover() {
        return music_album_cover;
    }

    public ShortVideoItem setMusic_album_cover(String music_album_cover) {
        this.music_album_cover = music_album_cover;
        return this;
    }

    public String getMusic_name() {
        return music_name;
    }

    public ShortVideoItem setMusic_name(String music_name) {
        this.music_name = music_name;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public ShortVideoItem setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getTopic_name() {
        return topic_name;
    }

    public ShortVideoItem setTopic_name(String topic_name) {
        this.topic_name = topic_name;
        return this;
    }

    public int getLike_count() {
        return like_count;
    }

    public ShortVideoItem setLike_count(int like_count) {
        this.like_count = like_count;
        return this;
    }

    public int getExample() {
        return example;
    }

    public ShortVideoItem setExample(int example) {
        this.example = example;
        return this;
    }

    public int getPlay_count() {
        return play_count;
    }

    public ShortVideoItem setPlay_count(int play_count) {
        this.play_count = play_count;
        return this;
    }

    public int getIs_delete() {
        return is_delete;
    }

    public ShortVideoItem setIs_delete(int is_delete) {
        this.is_delete = is_delete;
        return this;
    }

    public String getOpus_cover() {
        return opus_cover;
    }

    public ShortVideoItem setOpus_cover(String opus_cover) {
        this.opus_cover = opus_cover;
        return this;
    }

    public String getOpus_path() {
        return opus_path;
    }

    public ShortVideoItem setOpus_path(String opus_path) {
        this.opus_path = opus_path;
        return this;
    }

    public int getVisible() {
        return visible;
    }

    public ShortVideoItem setVisible(int visible) {
        this.visible = visible;
        return this;
    }

    public String getWonderful_tag() {
        return wonderful_tag;
    }

    public ShortVideoItem setWonderful_tag(String wonderful_tag) {
        this.wonderful_tag = wonderful_tag;
        return this;
    }

    public int getTopic_id() {
        return topic_id;
    }

    public ShortVideoItem setTopic_id(int topic_id) {
        this.topic_id = topic_id;
        return this;
    }

    public String getOpus_gif_cover() {
        return opus_gif_cover;
    }

    public ShortVideoItem setOpus_gif_cover(String opus_gif_cover) {
        this.opus_gif_cover = opus_gif_cover;
        return this;
    }

    public long getOwner_id() {
        return owner_id;
    }

    public ShortVideoItem setOwner_id(long owner_id) {
        this.owner_id = owner_id;
        return this;
    }

    public long getId() {
        return id;
    }

    public ShortVideoItem setId(long id) {
        this.id = id;
        return this;
    }

    public String getAt_user_ids() {
        return at_user_ids;
    }

    public ShortVideoItem setAt_user_ids(String at_user_ids) {
        this.at_user_ids = at_user_ids;
        return this;
    }


    public void setData(ShortVideoItem item) {
        this.setOpus_small_cover(item.getOpus_small_cover());
    }
}
